package com.my.mapper;

import com.my.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EmployeeMapper {

    public List<Employee> getBy(Employee employee);

    List<Employee>getByChool(Employee employee);

    List<Employee>getByWgere(Employee employee);

    Integer updataBy(Employee employee);

    List<Employee>getBYIds(@Param("ids")List<Integer>ids);

    Employee getByid(Integer id);

    List<Employee> getByWhere(Employee employee);

    Employee getBId(int i);

    void updateBy(Employee employee);


    Employee getById(int i);
}